package com.mdb.open.trade.domain.dto.product;

import com.mdb.bc.api.data.DataObjectBase;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author liuyi
 * @date 2019/06/18
 **/
@Data
public class VerifySignDto extends DataObjectBase {

    private static final long serialVersionUID = 1L;

    /**
     * AppID
     */
    @ApiModelProperty(value = "AppID")
    @NotBlank(message = "AppId不允许为空")
    private String appId;
    /**
     * app
     */
    @ApiModelProperty(value = "app不允许为空")
    @NotBlank(message = "App不允许为空")
    private String app;
    /**
     * 待验签对象
     */
    @ApiModelProperty(value = "待验签对象")
//    @NotEmpty(message = "待签名对象不允许为空")
    private String jsonObject;

    /**
     * 签名结果字符串
     */
    @ApiModelProperty(value = "签名字符串")
    @NotBlank(message = "签名字符串不允许为空")
    private String sign;
}
